package edu.cdnu.pojo;

import java.io.Serializable;

/**
 * 数据库educational_admin的映射类
 * 
 * @author ASUS AsingZ
 */
public class EducationalAdminPojo implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	private Integer id;
	/**
	 * 角色id
	 */
	private Integer roleId;
	/**
	 * 账号
	 */
	private String account;
	/**
	 * 密码
	 */
	private String password;
	/**
	 * 姓名
	 */
	private String name;
	/**
	 * 邮箱
	 */
	private String email;
	/**
	 * 电话号码
	 */
	private String phone;
	/**
	 * 职称
	 */
	private String degree;
	/**
	 * 所属系别id
	 */
	private Integer departmentId;
	/**
	 * 状态,0-在职
	 */
	private Integer state;
	
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getRoleId() {
		return roleId;
	}
	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getDegree() {
		return degree;
	}
	public void setDegree(String degree) {
		this.degree = degree;
	}
	public Integer getDepartmentId() {
		return departmentId;
	}
	public void setDepartmentId(Integer departmentId) {
		this.departmentId = departmentId;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	
	
	@Override
	public String toString() {
		return "EducationalAdminPojo [id=" + id + ", roleId=" + roleId + ", account=" + account + ", password="
				+ password + ", name=" + name + ", email=" + email + ", phone=" + phone + ", degree=" + degree
				+ ", departmentId=" + departmentId + ", state=" + state + "]";
	}
	
	
}
